﻿using Framework.Utility.ViewModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Support.Models.Entities
{
    [Table("Job_MonitorData")]
    public class Job_MonitorData : BaseEntity<int>
    {
        public string JobId { get; set; }=Guid.NewGuid().ToString();
        public int DbLinkId { get; set; }
        public string GroupName { get; set; }
        public string ServerName { get; set; }
        public string CronExpression { get; set; }
        public string SqlText { get; set; } 

        public JobFireStatus Status { get; set; } = JobFireStatus.No;
        public string? CheckTime { get; set; } 
    }
}
